package com.sicpa.common.core.domain;

/**
 * Name:验签接口(PKCS7 detach)-RSA-入参
 *
 * @author liuzhen
 * @date 2020/5/15
 */
public class VdsPk7DetachParam {

    /**
     * 应用编码
     */
    private String applicationCode;

    /**
     * 签名原文
     */
    private String initData;

    /**
     * 签名值(Base64编码签名值)
     */
    private String signData;

    /**
     * 原文编码格式:
     * 0-默认无编码，直接按照原文格式进行加密
     * 1-Base64编码，将原文转成该编码进行加密
     * 2-二进制编码，将原文转成该编码进行加密
     */
    private String initDataType;

    public VdsPk7DetachParam() {
    }

    public VdsPk7DetachParam(String applicationCode, String initData, String signData, String initDataType) {
        this.applicationCode = applicationCode;
        this.initData = initData;
        this.signData = signData;
        this.initDataType = initDataType;
    }

    public String getApplicationCode() {
        return applicationCode;
    }

    public String getInitData() {
        return initData;
    }

    public String getSignData() {
        return signData;
    }

    public String getInitDataType() {
        return initDataType;
    }

    public void setApplicationCode(String applicationCode) {
        this.applicationCode = applicationCode;
    }

    public void setInitData(String initData) {
        this.initData = initData;
    }

    public void setSignData(String signData) {
        this.signData = signData;
    }

    public void setInitDataType(String initDataType) {
        this.initDataType = initDataType;
    }
}
